package academic.concordia.bankofquebec.entity;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Transient;

@Entity
public class CheckingsAccount extends BankAccount implements Serializable {

	private static final long serialVersionUID = 1L;

	public CheckingsAccount() {
		super();
		this.attributes = AccountAttributes.CHECKINGS_ACCOUNT;
		this.type = this.attributes.name();
		this.setStatus(BankAccountStatus.ACTIVATED);
	}
	@Transient
	public boolean isPaymentAccount(){
		return true;
	}
	
}
